package mest.service.hws;

import mest.entity.plan_purchase;

import java.util.List;
import java.util.Map;

/*
* 计划采购单
* 查询采购单必须加订单状态和删除状态
* */
public interface Iplan_purchaseService {

    //新增计划采购单
    String insert(Map<String,Object> record);

    //更新计划采购单
    String updateByPrimaryKey(String theirDb,plan_purchase record);

    //根据id查询计划采购单
    String selectByPrimaryKey(String theirDb,Integer id,Integer finishStatus);

    //查询全部计划采购单
    Map<Object, Object> selectPrimary(String theirDb,Integer limit, Integer page, Integer finishStatus);



}
